<div class="examenVihs index">
	<h2><?php __('Examen Vihs');?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('fecha_del_examen');?></th>
			<th><?php echo $this->Paginator->sort('resultado_general_del_examen');?></th>
			<th><?php echo $this->Paginator->sort('observaciones___descripcion');?></th>
			<th><?php echo $this->Paginator->sort('examen_id');?></th>
			<th><?php echo $this->Paginator->sort('r850_id');?></th>
			<th><?php echo $this->Paginator->sort('r860_id');?></th>
			<th><?php echo $this->Paginator->sort('r870_id');?></th>
			<th><?php echo $this->Paginator->sort('tipo_de_examen_vih');?></th>
			<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($examenVihs as $examenVih):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $examenVih['ExamenVih']['fecha_del_examen']; ?>&nbsp;</td>
		<td><?php echo $examenVih['ExamenVih']['resultado_general_del_examen']; ?>&nbsp;</td>
		<td><?php echo $examenVih['ExamenVih']['observaciones___descripcion']; ?>&nbsp;</td>
		<td><?php echo $examenVih['ExamenVih']['examen_id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($examenVih['R850']['r850_id'], array('controller' => 'r850s', 'action' => 'view', $examenVih['R850']['r850_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($examenVih['R860']['r860_id'], array('controller' => 'r860s', 'action' => 'view', $examenVih['R860']['r860_id'])); ?>
		</td>
		<td>
			<?php echo $this->Html->link($examenVih['R870']['r870_id'], array('controller' => 'r870s', 'action' => 'view', $examenVih['R870']['r870_id'])); ?>
		</td>
		<td><?php echo $examenVih['ExamenVih']['tipo_de_examen_vih']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View', true), array('action' => 'view', $examenVih['ExamenVih']['examen_vih_id'])); ?>
			<?php echo $this->Html->link(__('Edit', true), array('action' => 'edit', $examenVih['ExamenVih']['examen_vih_id'])); ?>
			<?php echo $this->Html->link(__('Delete', true), array('action' => 'delete', $examenVih['ExamenVih']['examen_vih_id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $examenVih['ExamenVih']['examen_vih_id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Examen Vih', true)), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('R850s', true)), array('controller' => 'r850s', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('R850', true)), array('controller' => 'r850s', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('R860s', true)), array('controller' => 'r860s', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('R860', true)), array('controller' => 'r860s', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(sprintf(__('List %s', true), __('R870s', true)), array('controller' => 'r870s', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(sprintf(__('New %s', true), __('R870', true)), array('controller' => 'r870s', 'action' => 'add')); ?> </li>
	</ul>
</div>